package com.flida.echart.basic.system.service.impl;


import com.flida.echart.basic.api.system.entity.Link;
import com.flida.echart.basic.system.dao.LinkDao;
import com.flida.echart.basic.system.service.ILinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("linkService")
public class LinkServiceImpl implements ILinkService {
    @Autowired
    private LinkDao linkDao;


    public int deleteByPrimaryKey(String id) {

        return linkDao.deleteByPrimaryKey(id);
    }


    public int insert(Link record) {

        return linkDao.insert(record);
    }


    public int insertSelective(Link record) {

        return linkDao.insertSelective(record);
    }


    public Link selectByPrimaryKey(String id) {

        return linkDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(Link record) {

        return linkDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(Link record) {

        return linkDao.updateByPrimaryKey(record);
    }

}
